
package com.joysuch.wwyt.dataimport.service;

import com.joysuch.wwyt.bp.bean.BpSafeTableExcelReturnBean;
import com.joysuch.wwyt.bp.entity.BpDepart;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.dataimport.bean.CheckItemBean;
import com.joysuch.wwyt.patrol.entity.bean.PatrolCheckPointItemDetailBean;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DataImportService {

    /**
     * 为没有登录账号的用户批量添加登录账号
     *
     * @param excludeUserCodes 需排除的用户代码
     * @param defaultPassword  默认密码
     * @return 添加的账号数量
     */
    int batchAddLoginAccountForNoAccountUsers(String[] excludeUserCodes, String defaultPassword);

    List<String> importBpStoreTankAndArea(MultipartFile file);

    List<String> importJobByExcel(MultipartFile file);

    List<String> importDepartByExcel(MultipartFile file);

    List<String> importUserByExcel(MultipartFile file);

    List<String> importPipeByExcel(MultipartFile file);

    List<String> imporHazardousChemicalsByExcel(MultipartFile file);

    List<String> imporDangerouSourceByExcel(MultipartFile file);

    List<String> equipmentAndFacilities(MultipartFile file);

    List<String> imporBasicInformationByExcel(MultipartFile file);

    List<String> importPointByExcel(MultipartFile file);

    List<String> importRiskPointByExcel(MultipartFile file);

    List<String> importRiskDistrictStableByExcel(MultipartFile file);

    List<String> importWorkSafetyCertRiskPointEvaluationTemplateByExcel(MultipartFile file);

    List<String> importNfcByExcel(MultipartFile file);

    List<String> importUserEmailByExcel(MultipartFile file);

    List<String> importQuestionByExcel(MultipartFile file);

    List<String> imporVideoByExcel(MultipartFile file);

    List<String> importRiskDistrictByExcel(MultipartFile file);

    ResultBean importInvestigateData(MultipartFile file);

    BpSafeTableExcelReturnBean importSafeTableData(MultipartFile file);

    List<String> importCertificateByExcel(MultipartFile file);

    List<BpDepart> getOwnedAuthDeptCodeMapping();

    CheckItemBean importCheckItem(MultipartFile file, List<PatrolCheckPointItemDetailBean> frontEndData, Integer flag);

    List<String> getSymbolList();

    List<String> importIMEIByExcel(MultipartFile file);
}
